<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<UserProfileViewModel>" %>
<%@ Import Namespace="Stimulus360.Controllers.Users" %>
<%@ Import Namespace="Stimulus360.Models.Data" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<% string userName = User.Identity.Name; %>


   <%Html.RenderPartial("StimulusLeftNavigation" ); %>
   
	<div class="mainInner colViewHdr">
        <%--<div class="projListItem pt10 pl10 floatLeft">
            <h2> <span class="welText">Welcome</span> <%=userName%></h2>
        </div>--%>
        <div class="proflPic floatLeft pt10">
           <img src="<%=Url.Action("UserImage", "Users", new {userName=Model.User.UserName})%>?id=<%=DateTime.Now %>" alt="User Image" title="<%=Model.User.UserName%>" />
        </div>
        <div class="profl floatLeft pt10">
            <div class="pb5"><h2><span class="welText">Welcome</span> <%=userName%></h2></div>
            <h1><%=Model.User.FirstName%> <%=Model.User.LastName%></h1>
            <%=Model.User.Email%>
            </div>         
           <div class="floatRight pt10">
            <a href="/Users/Edit/<%=userName %>"  class="headerLabelBtn"><span>Edit Profile</span></a>
       </div>
      <br clear="all" /> 
      
      <div  class="proflColLeft">
        <div class="proflItembg p10"><h4>My Interests</h4></div>
             <%Html.RenderPartial("MyInterestTagCloud", Model.UserInterests); %>
      </div>

        
	    <div class="proflColRight projListItemBg p10">
        <h4>About</h4>
        <p><%=Html.Encode(Model.User.Bio) %></p>
      </div>
      <br clear="all" /><br />
	</div>
	<br clear="all" />

<script type="text/javascript" language="javascript">
    $(document).ready(function() {
    $("#profileTag").addClass("selected");
    });
</script>
</asp:Content>